<div class="dropbox">
	<?php foreach($menu->getElements() as $elm): ?>
		<?php if($elm->getParameter('id') == $id): ?>
			<?php foreach($elm->getSubElements() as $subelm): ?>
				<?php if(count($subelm->getSubElements()) > 0): ?>
				<div class="droplinks">
					<h1 class="mis"><?php echo $subelm->getName() ?></h1>
					<ul>
						<?php foreach($subelm->getSubElements() as $subsub): ?>
						<li><a href="<?php echo $subsub->getLink() ?>"><?php echo $subsub->getName() ?></a></li>
						<?php endforeach; ?>
					</ul>
				</div>
				<?php endif; ?>
			<?php endforeach; ?>
			<?php break; ?>
		<?php endif; ?>
	<?php endforeach; ?>
	<div class="clear"></div>
</div>

<?php if($banner): ?>
<div class="dropbanner">
	<div class="dropbannerin">
		<?php echo $banner->render() ?>
	</div>
</div>
<?php endif; ?>


<script type="text/javascript">
	Cufon.replace('.myr', { fontFamily: 'myriad', hover: true });
	Cufon.replace('.mis', { fontFamily: 'mistral', hover: true });
</script>